<template>
  <div>
    <div>
      <h4>现阶段</h4>
      <el-row type="flex" justify="space-between">
        <el-col :span="5">
          <div>
            <span>尿潴留 </span>
            <el-select v-model="pgForm.current_stage_value1" placeholder="请选择" style="width: 50%;">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <span>漏尿 </span>
            <el-select v-model="pgForm.current_stage_value2" placeholder="请选择" style="width: 50%;">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <span>尿频尿急 </span>
            <el-select v-model="pgForm.current_stage_value3" placeholder="请选择" style="width: 40%;">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <span>排尿困难 </span>
            <el-select v-model="pgForm.current_stage_value4" placeholder="请选择" style="width: 40%;">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <span>便秘 </span>
            <el-select v-model="pgForm.current_stage_value5" placeholder="请选择" style="width: 50%;">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <span>粪失禁 </span>
            <el-select v-model="pgForm.current_stage_value6" placeholder="请选择" style="width: 50%;">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <span>关节痛畏寒 </span>
            <el-select v-model="pgForm.current_stage_value7" placeholder="请选择" style="width: 30%;">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <span>乳量 </span>
            <el-select v-model="pgForm.current_stage_value8" placeholder="请选择" style="width: 40%;">
              <el-option
                v-for="item in options1"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <span>情绪低落 </span>
            <el-select v-model="pgForm.current_stage_value9" placeholder="请选择" style="width: 40%;">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <span>血性恶露 </span>
            <el-select v-model="pgForm.current_stage_value10" placeholder="请选择" style="width: 40%;">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <span>睡眠障碍 </span>
            <el-select v-model="pgForm.current_stage_value11" placeholder="请选择" style="width: 40%;">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "current_stage",
  title: "现阶段",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data() {
    return {
      options: [{
        value: '有',
        label: '有'
      }, {
        value: '无',
        label: '无'
      }],
      options1: [{
        value: '足',
        label: '足'
      }, {
        value: '不足',
        label: '不足'
      }],
      pgForm: {
        current_stage_value1: '',
        current_stage_value2: '',
        current_stage_value3: '',
        current_stage_value4: '',
        current_stage_value5: '',
        current_stage_value6: '',
        current_stage_value7: '',
        current_stage_value8: '',
        current_stage_value9: '',
        current_stage_value10: '',
        current_stage_value11: '',
      }
    }
  }
}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
.el-col {
  margin:10px 0;
}
</style>
